package com.cloud.lan.service;

import com.cloud.lan.entity.base.BaseResponse;
import com.cloud.lan.entity.model.dataobject.LanBookingActivityRecordDO;

import java.util.List;

/**
 * Created by zhouquan on 2022/5/1.
 */
public interface ILanBookingActivityService {

    /**
     * 最新有效预约活动
     * @param token
     * @return
     */
    BaseResponse<Object> queryLatestValidAC(String token, String appCode);

    /**
     * 查询用户最新的预约活动记录
     * @param activityId
     * @param token
     * @return
     */
    BaseResponse<Object> queryUserLatestACR(String token, Long activityId);

    /**
     * 用户加入预约活动
     * @return
     */
    BaseResponse<Object> applyJoin(String token,LanBookingActivityRecordDO reqDo);

}
